# Contributor: Saijin-Naib <Saijin-Naib_package-maintenance@outlook.com>
# Maintainer: Saijin-Naib <Saijin-Naib_package-maintenance@outlook.com>
pkgname=grip
pkgver=4.2.4
pkgrel=0
pkgdesc="CD Player, Secure Ripper, and Encoder"
url="https://sourceforge.net/projects/grip/"
arch="all"
license="GPL-2.0-or-later AND LGPL-2.1-or-later"
makedepends="
	cdparanoia-dev
	curl-dev
	gtk+2.0-dev
	id3lib-dev
	meson
	"
subpackages="$pkgname-doc $pkgname-lang"
source="$pkgname-$pkgver.tar.gz::https://sourceforge.net/projects/grip/files/$pkgver/grip-$pkgver.tar.gz/download"
options="!check" # no tests

build() {
	abuild-meson . output
	meson compile -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
fdc2808b91df617f4d2447114037c31bd5fa0657aa4ea2453e644b155468971c65a364bb0a3c6ed8ff2ba0e44e7117a51bec3081c7defd590f9fbc802a216bf5  grip-4.2.4.tar.gz
"
